package cn.edu.lzu.service;

import cn.edu.lzu.common.assist.DataTree;
import cn.edu.lzu.common.assist.ResponseResult;
import cn.edu.lzu.entity.ExamineItemType;

import java.util.List;

/**
 * @PackageName: cn.edu.lzu.service
 * @InterfaceName: ExamineItemTypeService
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2019/12/11 14:55
 * @Version: 1.0
 */
public interface ExamineItemTypeService {
    List<Object> getTypeTreeData(long unitId);

    ResponseResult updateTreeNodeName(DataTree dataTree);

    ResponseResult addTypeTreeNode(int parentId, String typeName);

    ResponseResult deleteTypeTreeNodes(int itemTypeId);

    ResponseResult addItemTypeTreeRoot(String itemTypeTreeRoot, long unitId);

    ResponseResult getItemTypeById(Integer itemTypeId);

    List<ExamineItemType> getItemTypeLevel1List(long unitId);

    List<ExamineItemType> getItemTypeLevel2List(int itemTypeId, long unitId);

    List<ExamineItemType> getItemTypeLevel3List(int itemTypeId, long unitId);

    List<ExamineItemType> getItemTypeLevel4List(int itemTypeId, long unitId);

}